<?php

?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=divice-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
		<script src="https://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
		<link rel="stylesheet" type="text/css" href="public/css/left.css"/>
		<title></title>
		<style type="text/css">
			.left div{
				display: none;
			}
		</style>
		<script type="text/javascript">
			$(function(){
				$('h4').click(function(){
					$(this).next().toggle(300);
					$('.left div').not($(this).next()).hide();
				});
				
//				$('.left a').click(function(){
//					var href = $(this).attr('href');
//					$.get(href, function(infomation){
//			            $('.right').html(infomation);
//			        });
//			        return false;
//				});
			});
		</script>
	</head>
	<body>
		<div class="left">
			<h4>用户管理</h4>
			<div>
				<p><a href="user/index.php" target="right">|-查看用户</a></p>
				<p><a href="user/add.php" target="right">|-添加用户</a></p>
			</div>
			<h4>分类管理</h4>
			<div>
				<p><a href="class/index.php" target="right">|-查看分类</a></p>
				<p><a href="class/add.php" target="right">|-添加分类</a></p>
			</div>
			<h4>品牌管理</h4>
			<div>
				<p><a href="brand/index.php" target="right">|-查看品牌</a></p>
				<p><a href="brand/add.php" target="right">|-添加品牌</a></p>
			</div>
			<h4>商品管理</h4>
			<div>
				<p><a href="shop/index.php" target="right">|-查看商品</a></p>
				<p><a href="shop/add.php" target="right">|-添加商品</a></p>
			</div>
			<h4>评论管理</h4>
			<div>
				<p><a href="comment/index.php" target="right">|-查看评论</a></p>
			</div>
			<h4>订单状态</h4>
			<div>
				<p><a href="status/index.php" target="right">|-查看状态</a></p>
				<p><a href="status/add.php" target="right">|-添加状态</a></p>
			</div>
			<h4>订单管理</h4>
			<div>
				<p><a href="indent/index.php" target="right">|-查看订单</a></p>
			</div>
			<h4>广告管理</h4>
			<div>
				<p><a href="advert/index.php" target="right">|-查看广告</a></p>
				<p><a href="advert/add.php" target="right">|-添加广告</a></p>
			</div>
			<h4>系统管理</h4>
			<div>
				<p><a href="adminpass.php" target="right">|-修改口令</a></p>
				<p><a href="logout.php" target="_top" onclick="return confirm('你确定退出系统吗？')">|-退出系统</a></p>
				<p><a href="../index.php" target="_blank">|-网站首页</a></p>
			</div>
		</div>
			
	</body>
	
</html>
